﻿    <div class="subnav" align="left">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="100%" align="left" height="31">&nbsp;<img src="common/images/title-pk.gif" border="0"  align="absmiddle"/>&nbsp;<span class="subnavtxt1">出货管理</span>
			&nbsp;<img src="common/images/leftico2.gif" border="0"  align="absmiddle"/>&nbsp;<span class="subnavtxt2">出货单详细</span></td>
		  </tr>
		</table>
    </div>
    <div>
       <table width="91%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
         <tr>
           <td align="left" width="55%"><div style="margin-left:5px;">当前订单状态：<s:property value="order.statusMessage" />，已经等待了：<span style="color:red"><s:property value="order.waitTime" /></span></div></td>
		   <td align="right" width="40%">
		     <s:if test="order.status>1 && order.status<4">
		     	 <s:if test="%{@com.javaeye.common.util.PermissionsHelper@checkHasPermissions(#session.userinfo, 'applyCloseOrder.action')}">
		       		<input onclick=javascript:window.location.href='applyCloseOrder.action?orderId=<s:property value="orderId" />' type="button" value="申请关闭" class="input1" />
		       	 </s:if>
		     </s:if>
		   </td>
         </tr>
       </table>
    </div>
	<div class="clear"></div>
    <div class="flow-steps">
      <ol class="num6">
        <s:if test="order.status==1">
         <li class="current-prev"> <span>1.创建订单</span> </li>
        </s:if>
        <s:else>
         <li class="done"> <span class="first">1.创建订单</span> </li>
        </s:else>
        
       <s:if test="order.status==1">
        <li class="current"> <span>2.计划安排</span> </li>
       </s:if>
       <s:else>
        <s:if test="order.status==2">
         <li class="current-prev"> <span>2.计划安排</span> </li>
        </s:if>
        <s:else>
         <s:if test="order.status>2">
          <li class="done"> <span>2.计划安排</span> </li>
         </s:if>
         <s:else>
          <li> <span>2.计划安排</span> </li>
         </s:else>
        </s:else>
       </s:else>
              
       <s:if test="order.status==2">
        <li class="current"> <span>3.业务确认</span> </li>
       </s:if>
       <s:else>
        <s:if test="order.status==3">
         <li class="current-prev"> <span>3.业务确认</span> </li>
        </s:if>
        <s:else>
         <s:if test="order.status>3">
          <li class="done"> <span>3.业务确认</span> </li>
         </s:if>
         <s:else>
          <li> <span>3.业务确认</span> </li>
         </s:else>
        </s:else>
       </s:else>
                     
       <s:if test="order.status==3">
        <li class="current"> <span>4.仓库理货</span> </li>
       </s:if>
       <s:else>
        <s:if test="order.status==4||order.status==5">
         <li class="current-prev"> <span>4.仓库理货</span> </li>
        </s:if>
        <s:else>
         <s:if test="order.status>4">
          <li class="done"> <span>4.仓库理货</span> </li>
         </s:if>
         <s:else>
          <li> <span>4.仓库理货</span> </li>
         </s:else>
        </s:else>
       </s:else>
                            
       <s:if test="order.status==4||order.status==5">
        <li class="current"> <span>5.检验</span> </li>
       </s:if>
       <s:else>
        <s:if test="order.status==6">
         <li class="current-prev"> <span>5.检验</span> </li>
        </s:if>
        <s:else>
         <s:if test="order.status>5">
          <li class="done"> <span>5.检验</span> </li>
         </s:if>
         <s:else>
          <li> <span>5.检验</span> </li>
         </s:else>
        </s:else>
       </s:else>
                                   
       <s:if test="order.status==6">
        <li class="last-current"> <span>6.发货</span> </li>
       </s:if>
       <s:else>
        <li class="last"> <span>6.发货</span> </li>
       </s:else>
      </ol>
    </div>
    <div class="clear"></div>
    <div>
       <table width="91%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
         <tr> 
           <td align="left" width="5%">
             <input type="button" value="返回"  onclick="goBack()" class="input1_left" /><div id="backableDiv"></div>
           </td>
         </tr>
       </table>
    </div>